
from .api_mysql import ApiMysqlclass

from flask import Flask, request

from . import api_login

app = Flask(__name__)

@api_login.route('/login_test', methods = ['GET', 'POST'])

def token():

    if request.method == 'GET':

        token = request.args.get('token')

        return ApiMysqlclass().get_return(token)


if __name__ == '__main__':
    
    app.run(debug = True)
    